From: Drew Parsons Date: Wed, 1 Jul 2026 09:57:40 +0000 (+0200) Subject: add debian patch build_reproducibility.patch to remove XDMF_SYSTEM X-Git-Tag: archive/raspbian/9.6.2+dfsg1-4+rpi1^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bbf44168579c601094aba6d598481feb5331fe8a;p=vtk9.git add debian patch build_reproducibility.patch to remove XDMF_SYSTEM this patch maintains build reproducibility by dropping XDMF_SYSTEM from XdmfConfig.h in xdmf2 headers. XDMF_SYSTEM is set to CMAKE_SYSTEM, including the Linux version at build time. It is not actually used by the code. Closes: #1120818 --- diff --git a/debian/changelog b/debian/changelog index 970f95986..a9972fda3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +vtk9 (9.6.2+dfsg1-1exp5) UNRELEASED; urgency=medium + + * debian patch build_reproducibility.patch maintains build + reproducibility by dropping XDMF_SYSTEM (which is set to + CMAKE_SYSTEM, including the Linux version at build time) from + XdmfConfig.h in xdmf2 headers. XDMF_SYSTEM is not actually used by + the code. Closes: #1120818 + + -- Drew Parsons Wed, 01 Jul 2026 11:52:10 +0200 + vtk9 (9.6.2+dfsg1-1exp4) experimental; urgency=medium * Team upload. diff --git a/debian/patches/build_reproducibility.patch b/debian/patches/build_reproducibility.patch new file mode 100644 index 000000000..c9c495e9b --- /dev/null +++ b/debian/patches/build_reproducibility.patch @@ -0,0 +1,13 @@ +Index: vtk9/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfConfig.h.in +=================================================================== +--- vtk9.orig/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfConfig.h.in 2026-06-20 13:37:48.365606265 +0200 ++++ vtk9/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfConfig.h.in 2026-07-01 11:51:37.458361908 +0200 +@@ -32,8 +32,6 @@ + #define XDMF_BYTE_ORDER_LITTLE + #endif + +-#define XDMF_SYSTEM ${CMAKE_SYSTEM} +- + #cmakedefine XDMF_VOID_VALID + #ifndef XDMF_VOID_VALID + /* Force an Error */ diff --git a/debian/patches/series b/debian/patches/series index cee5204d0..4143c3413 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,3 +12,4 @@ 121_add_support_for_loong64.patch matplotlib_nullptr_s390x.patch gdal-3.13.patch +build_reproducibility.patch